/* google front */
/* @import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); */
@import './google-front.css';

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

.login-root {
  /* 全屏高度（子元素以此为参考） */
  height: 100vh !important;
  /* 兼容浏览器，确保最小高度 */
  min-height: 100vh;
  /* 全屏宽度 */
  width: 100vw !important;
  /* 开启Flex，让.container居中 */
  display: flex !important;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中 */
  align-items: center !important;
  /* 隐藏滚动条 */
  overflow: hidden !important;
  /* 为#particles-js提供定位参考 */
  position: relative !important;
  /* 清除默认边距 */
  margin: 0;
  /* 清除默认内边距 */
  padding: 0;
  background: linear-gradient(#125eeb, #e0d2ba);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  position: relative;
  z-index: 10;
}
/* bdbec7d7 、 c2c4bfd7 */
/* background-color: #bdbec7d7 */
.container .drop .content {
  background-color: #bdbec7d7;
  width: clamp(300px, 50vw, 650px);
  height: clamp(300px, 50vw, 650px);
  box-shadow: inset 20px 20px 20px rgba(0, 0, 0, .05),
              25px 35px 20px rgba(0, 0, 0, .05),
              25px 30px 30px rgba(0, 0, 0, .05),
              inset -20px -20px 25px rgba(255, 255, 255, 0.6);
  transition: 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 52% 48% 33% 67% / 38% 45% 55% 62%;
}

.container .drop .content:hover {
  border-radius: 50%;
}

/* Sign In 左上上面白点 */
.container .drop .content::before {
  content: '';
  position: absolute;
  top: 13%;
  left: 20%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}
/* Sign In 左上下面白点 */
.container .drop::after {
  content: '';
  position: absolute;
  top: 19%;
  left: 25%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}

.container .drop .content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  gap: 15px;
}

.container .drop .content h1 {
  position: relative;
  color: #333;
  font-size: 3em;
}

.container .drop .content form {
  display: flex;
  flex-direction: column;
  gap: 23px;
  justify-content: center;
  align-items: center;
}

.container .drop .content form .inputBox {
  position: relative;
  width: 380px;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  inset -2px -5px 10px rgba(255, 255, 255, 1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  border-radius: 25px;
}

.container .drop .content form .inputBox input {
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 1.2em;
  padding: 14px 25px;
}

.container .drop .content form .inputBox input[type="submit"] {
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.3em;
  font-weight: 500;
}

.container .drop .content form .inputBox:last-child {
  width: 160px;
  background-color: #c53663e8;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  transition: 0.5s;
}

.container .drop .content form .inputBox:last-child:hover {
  width: 200px;
}

.btns {
  position: absolute;
  width: clamp(60px, 10vw, 150px);
  height: clamp(60px, 10vw, 150px);
  right: -120px;
  bottom: 0;
  background-color:#c61dff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  line-height: 1.2em;
  letter-spacing: 0.1em;
  font-size: 0.8em;
  transition: 0.25s;
  text-align: center;
  box-shadow: inset 10px 10px 10px rgba(190, 1, 254, .05),
              15px 25px 10px rgba(190, 1, 254, .1),
              15px 20px 20px rgba(190, 1, 254, .1),
              inset -10px -10px 15px rgba(255, 255, 255, 0.5);;
  border-radius: 44% 56% 65% 35% / 57% 58% 42% 43%;
}

.btns::before {
  content: '';
  position: absolute;
  top: 13%;
  left: 18%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.45;
}

.btns.signup {
  bottom: 175px;
  right: -140px;
  width: 90px;
  height: 90px;
  border-radius: 49% 51% 52% 48% / 63% 59% 41% 37%;
  background-color: #01b4ff;
  box-shadow: inset 10px 10px 10px rgba(1, 180, 255, .05),
              15px 25px 10px rgba(1, 180, 255, .1),
              15px 20px 20px rgba(1, 180, 255, .1),
              inset -10px -10px 15px rgba(255, 255, 255, 0.5);
}

.btns.signup::before {
  width: 15px;
  height: 15px;
}

.btns:hover {
  border-radius: 50%;
  transform: translateY(-10px);
  background-color: #ff5f9b;
}

.left-image {
  position: absolute;
  bottom: 10%;
  left: 13%;
}

.left-image {
  /* 其他原有样式保持不变 */
  animation: floatUpDown 2s ease-in-out infinite;
}

/* 定义上下浮动的动画 */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
    /* 初始位置，不偏移 */
  }

  50% {
    transform: translateY(-20px);
    /* 向上偏移10px */
  }

  100% {
    transform: translateY(0);
    /* 回到初始位置 */
  }
}
.left-image img {
  filter: contrast(130%) brightness(105%);
  /* 调整对比度和亮度，增强视觉上的清晰度感受 */
}
